home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
SHDK_2
/
OVERLSTR.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-05-13
|
603b
|
26 lines
{$F+}
{This unit is required for the test ensemble in order to permit the
initialization of the overlay system prior to any other heap
manipulation.}
unit OverLstr;
interface
uses Overlay;
implementation
begin
OvrInit('TESTLSTR.OVR');
If OvrResult <> OvrOK then begin
WriteLn('Can''t initialize overlay file. Error code = ',OvrResult);
Halt(1);
end;
OvrSetBuf(OvrGetBuf + $4000);
If OvrResult <> OvrOK then begin
WriteLn('Can''t adjust overlay buffer. Error code = ',OvrResult);
WriteLn(' The tests may run very slowly.');
end;
end.